Name Property (Attachment Object) 

The Name property returns or sets the display name of the Attachment object as a string. Read/write.

Syntax

objAttachment.Name

Data Type

String

Remarks

The Name property corresponds to the MAPI property PR_ATTACH_FILENAME.

The Name property is the default property of an Attachment object, meaning that Attachment is syntactically equivalent to Attachment.Name in Visual Basic code.

Example

See the example for the Attachment object s Index property.

See Also

Attachment Object35G2KD